
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    StringBuffer baseBuffer = new StringBuffer();
    baseBuffer.append(request.getScheme()).append("://").append(request.getServerName()).append(":")
            .append(request.getServerPort()).append(request.getContextPath()).append("/");
%>
<base href="<%=baseBuffer%>">
